import React, { Component } from "react";
import styles from "./AddApi.less";

class Ads extends Component {
  render() {
    const { dataDetail = {} } = this.props;
    return (
      <div className={styles.root}>
        <div className={styles.basicInfo}>
          <div style={{ display: "flex", justifyContent: "space-between" }}>
            <span className={styles.title}>数据配置</span>
          </div>
          <div className={styles.line}>
            <div className={styles.onePiece}>
              tbIName：
              <span className={styles.content}>
                {dataDetail.adsTableName || `暂无`}
              </span>
            </div>
          </div>
        </div>
      </div>
    );
  }
}

export default Ads;
